<template>
  <div>
    <el-tabs type="border-card">
      <el-tab-pane :label="p.load_name" v-for="(p, index) of creditGoods" :key="index">
        <industry-poultry
          :pageId="p.industrial_package_id"
          :pageName="p.load_name"
        ></industry-poultry>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import IndustryPoultry from '@/gov/views/category/IndustryPoultry'
import { mapGetters } from 'vuex'
export default {
  components: {
    IndustryPoultry,
  },
  props: {},
  data() {
    return {}
  },

  computed: {
    ...mapGetters(['creditGoods']),
  },

  created() {
    this.$store.dispatch('getCreditGoods')
  },
  methods: {},
}
</script>
<style lang="scss" scoped></style>
